package com.eaoa.vo.pub;

import com.eaoa.vo.pub.base.BasePubRole;
import com.stony.core.util.LabelValue;

/**
 * 
 * This is the object class that relates to the PUB_PERMISSIONSET table.
 * 
 * Any customizations belong here.
 * 
 */

public class PubRole extends BasePubRole implements
		LabelValue {

	private String ischeck = "N";

	public String getValue() {
		return getRoleno().toString();
	}

	public String getLabel() {
		return getRolename();
	}

	public String getLabelshort() {
		return getLabel();
	}

	/* [CONSTRUCTOR MARKER BEGIN] */

	public PubRole() {
	}

	/**
	 * 
	 * Constructor for primary key
	 * 
	 */

	public PubRole(java.lang.Long roleno) {

		super(roleno);

	}

	public String getIscheck() {
		return ischeck;
	}

	public void setIscheck(String ischeck) {
		this.ischeck = ischeck;
	}

	/* [CONSTRUCTOR MARKER END] */

	public int compareTo(Object o) {
		return getRoleno().compareTo(
				((PubRole) o).getRoleno());
	}

}